<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String username=(String)session.getAttribute("username");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'header.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style>
body{
margin:0px;
padding:0px;
}
img{

height:100%;
width:100%;
}
a{
position:absolute;
top:81%;
left:95%;
color:white;
border:none;
}
p{
position:absolute;
top:64%;
left:85%;
color:white;
}
div{
width:1366px;
height:98px;
}
</style>
<script type="text/javascript" src="js/jquery-1.7.2.js"></script>
<script type="text/javascript">
	function goout(){

		window.parent.frames.location.href="jsp/exit";
	
	}
</script>
  </head>
  <body>
  <div>
    <img src="images/gggg.png" />
  <p>用户名：<span><%=username %></span></p> 
  <a onclick="goout()">退出</a>
  </div>
  </body>
</html>
